package com.ruoyi.school.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.school.mapper.PicUrlMapper;
import com.ruoyi.school.domain.PicUrl;
import com.ruoyi.school.service.IPicUrlService;

/**
 * 图片Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-04-10
 */
@Service
public class PicUrlServiceImpl implements IPicUrlService 
{
    @Autowired
    private PicUrlMapper picUrlMapper;

    /**
     * 查询图片
     * 
     * @param id 图片主键
     * @return 图片
     */
    @Override
    public PicUrl selectPicUrlById(Long id)
    {
        return picUrlMapper.selectPicUrlById(id);
    }

    /**
     * 查询图片列表
     * 
     * @param picUrl 图片
     * @return 图片
     */
    @Override
    public List<PicUrl> selectPicUrlList(PicUrl picUrl)
    {
        return picUrlMapper.selectPicUrlList(picUrl);
    }


}
